home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / zmore.1 < prev    next >
Encoding:
Text File  |  1994-07-30  |  5.2 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ZMORE(1)                 USER COMMANDS                   ZMORE(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      zmore - file perusal filter for crt  viewing  of  compressed
  10.      text
  11.  
  12. SYNOPSIS
  13.      zmore [ name ...  ]
  14.  
  15. DESCRIPTION
  16.      _Z_m_o_r_e is a filter which allows examination of compressed  or
  17.      plain text files one screenful at a time on a soft-copy ter-
  18.      minal.  _z_m_o_r_e works on files compressed with _c_o_m_p_r_e_s_s,  _p_a_c_k
  19.      or _g_z_i_p, and also on uncompressed files.  If a file does not
  20.      exist, _z_m_o_r_e looks for a file of  the  same  name  with  the
  21.      addition of a .gz, .z or .Z suffix.
  22.  
  23.      _Z_m_o_r_e normally pauses  after  each  screenful,  printing  --
  24.      More--  at the bottom of the screen.  If the user then types
  25.      a carriage return, one more line is displayed.  If the  user
  26.      hits  a space, another screenful is displayed.  Other possi-
  27.      bilities are enumerated later.
  28.  
  29.      _Z_m_o_r_e looks in the file /_e_t_c/_t_e_r_m_c_a_p to  determine  terminal
  30.      characteristics,  and  to determine the default window size.
  31.      On a terminal capable of displaying 24  lines,  the  default
  32.      window  size  is  22  lines.   To use a pager other than the
  33.      default _m_o_r_e, set environment variable PAGER to the name  of
  34.      the desired program, such as _l_e_s_s.
  35.  
  36.      Other sequences which may be typed when  _z_m_o_r_e  pauses,  and
  37.      their  effects,  are  as  follows  (_i is an optional integer
  38.      argument, defaulting to 1) :
  39.  
  40.      _i<space>
  41.           display _i more lines, (or another screenful if no argu-
  42.           ment is given)
  43.  
  44.      ^D   display 11 more lines (a ``scroll'').  If _i  is  given,
  45.           then the scroll size is set to _i.
  46.  
  47.      d    same as ^D (control-D)
  48.  
  49.      _iz   same as typing a  space  except  that  _i,  if  present,
  50.           becomes the new window size.  Note that the window size
  51.           reverts back to the default at the end of  the  current
  52.           file.
  53.  
  54.      _is   skip _i lines and print a screenful of lines
  55.  
  56.      _if   skip _i screenfuls and print a screenful of lines
  57.  
  58.      q or Q
  59.           quit reading the current file; go on to  the  next  (if
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZMORE(1)                 USER COMMANDS                   ZMORE(1)
  71.  
  72.  
  73.  
  74.           any)
  75.  
  76.      e or q
  77.           When the prompt --More--(Next file: _f_i_l_e)  is  printed,
  78.           this command causes zmore to exit.
  79.  
  80.      s    When the prompt --More--(Next file: _f_i_l_e)  is  printed,
  81.           this  command  causes  zmore  to skip the next file and
  82.           continue.
  83.  
  84.      =    Display the current line number.
  85.  
  86.      _i/expr
  87.           search for the _i-th occurrence of the  regular  expres-
  88.           sion  _e_x_p_r.  If the pattern is not found, _z_m_o_r_e goes on
  89.           to the next file (if any).  Otherwise, a  screenful  is
  90.           displayed,  starting  two  lines before the place where
  91.           the expression was found.  The user's  erase  and  kill
  92.           characters  may be used to edit the regular expression.
  93.           Erasing back past the first column cancels  the  search
  94.           command.
  95.  
  96.      _in   search for the _i-th  occurrence  of  the  last  regular
  97.           expression entered.
  98.  
  99.      !command
  100.           invoke a shell with _c_o_m_m_a_n_d. The character `!' in "com-
  101.           mand"  are  replaced  with  the previous shell command.
  102.           The sequence "\!" is replaced by "!".
  103.  
  104.      :q or :Q
  105.           quit reading the current file; go on to  the  next  (if
  106.           any) (same as q or Q).
  107.  
  108.      .    (dot) repeat the previous command.
  109.  
  110.      The commands take effect immediately, i.e., it is not neces-
  111.      sary  to  type  a  carriage return.  Up to the time when the
  112.      command character itself is given, the user may hit the line
  113.      kill  character  to  cancel  the  numerical  argument  being
  114.      formed.  In addition, the user may hit the  erase  character
  115.      to redisplay the --More-- message.
  116.  
  117.      At any time when output is being sent to the  terminal,  the
  118.      user  can hit the quit key (normally control-\).  _Z_m_o_r_e will
  119.      stop sending output, and will  display  the  usual  --More--
  120.      prompt.   The  user may then enter one of the above commands
  121.      in the normal manner.  Unfortunately, some  output  is  lost
  122.      when this is done, due to the fact that any characters wait-
  123.      ing in the terminal's output queue are flushed when the quit
  124.      signal occurs.
  125.  
  126.  
  127.  
  128.  
  129. Sun Release 4.1           Last change:                          2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ZMORE(1)                 USER COMMANDS                   ZMORE(1)
  137.  
  138.  
  139.  
  140.      The terminal is set to _n_o_e_c_h_o mode by this program  so  that
  141.      the  output  can be continuous.  What you type will thus not
  142.      show on your terminal, except for the / and !  commands.
  143.  
  144.      If the standard output is not a teletype,  then  _z_m_o_r_e  acts
  145.      just  like _z_c_a_t, except that a header is printed before each
  146.      file.
  147.  
  148. FILES
  149.      /etc/termcap        Terminal data base
  150.  
  151. SEE ALSO
  152.      more(1), gzip(1), zdiff(1),  zgrep(1),  znew(1),  zforce(1),
  153.      gzexe(1)
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. Sun Release 4.1           Last change:                          3
  196.  
  197.  
  198.  
  199.